<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<f:view contentType="text/html">	
	
<h:head>
	<title>Escolher o Grupo</title>
</h:head>

<h:body>
	<center>
	<p:fieldset toggleable="true" legend="Escolha os grupos" >
	<h:form id="idFormGrupo">
		
		<h:panelGrid columns="1">
			
			<p:selectOneRadio id="radioGrupos" value="#{escolherGrupoMB.mensagem.tipoGrupo}">  
        		<f:selectItem itemLabel="Grupo 1" itemValue="1" />  
        		<f:selectItem itemLabel="Grupo 2" itemValue="2" />  
        		<f:selectItem itemLabel="Grupo 3" itemValue="3" />  
    		</p:selectOneRadio> 
		
			<p:commandButton  value=".:: Escolher Grupo ::." action="#{escolherGrupoMB.escolherGrupo}" ajax="false" />  
		</h:panelGrid>

	</h:form>
	</p:fieldset>
	</center>
</h:body>
</f:view>
</html>
